<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:forEach items="${articleList}" var="article">
	<div class="newslist3" style="cursor: pointer;" onclick="javascript:detail(${article.id });">
		<img src="${article.url }" />
		<a href="javascript:void(0);">${article.title }</a>
		<p>
			<fmt:formatDate value="${article.time }" pattern="yyyy-MM-dd HH:mm:ss" />
		</p>
	</div>
</c:forEach>
<input type="hidden" id="pageCount" value="${count}" />